package com.springboot.base.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.time.LocalDateTime;

/**
 * Created by anyang
 * Email: 1300378587@qq.com
 * Created Date:2019-11-13 11:29
 */
@Data
@TableName("t_mq")
public class Rocketmq{

        @TableId(value = "id", type = IdType.AUTO)
        private Long id;

        private String info;

        private String result;
        
        private String type ;

         @TableField("time")
        private LocalDateTime createTime = LocalDateTime.now();
}
